import type { Route } from '../index.type'
import Layout from '@/layout/index.vue'
import { createNameComponent } from '../createNode'

// 抗干扰性能推算子系统
const route: Route[] = [
  {
    path: '/similarityEvaluateSystem',
    component: Layout,
    redirect: '/similarityEvaluateSystem/testSampleSelect',
    meta: { title: '相似度评估管理', icon: 'sfont system-document' },
    alwayShow: true,
    children: [
      {
        path: 'testSampleSelected',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/SimilarityEvaluateDeal/TestSampleSelected/index.vue')),
        meta: { title: '相似度评估处理' }
      },
      {
        path: 'siftInfoParam',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/SimilarityEvaluateDeal/TestSampleSelected/SiftInfoParam/index.vue')),
        meta: { title: '基础信息筛选', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'staticEvaluate',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/SimilarityEvaluateDeal/StaticFeatureVectorEvaluate/index.vue')),
        meta: { title: '静态特征向量一致性评估', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'dynamicCalculate',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/SimilarityEvaluateDeal/DynamicFeatureVectorSimilarityCalculate/index.vue')),
        meta: { title: '动态特征向量相似性计算', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'resultVisualDisplay',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/SimilarityEvaluateDeal/ResultVisualDisplay/index.vue')),
        meta: { title: '结果可视化展示', hideTabs: true },
        hideMenu: true
      }, 
      {
        path: 'patchEvaluate',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/PatchEvaluate/index.vue')),
        meta: { title: '批量评估' }
      },
      {
        path: 'resultList',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/PatchEvaluate/PatchEvaluateResultList/index.vue')),
        meta: { title: '批量评估-结果列表展示', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'lookStaticEvaluate',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/PatchEvaluate/PatchEvaluateResultList/StaticTable.vue')),
        meta: { title: '静态评估结果数据', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'lookDynamicEvaluate',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/PatchEvaluate/PatchEvaluateResultList/DynamicTable.vue')),
        meta: { title: '动态评估结果数据', hideTabs: true },
        hideMenu: true
      },
            {
        path: 'lookMultiFusion',
        component: createNameComponent(() => import('@/views/SimilarityEvaluateSystem/PatchEvaluate/PatchEvaluateResultList/MultiFusionTable.vue')),
        meta: { title: '多相似度融合结果数据', hideTabs: true },
        hideMenu: true
      }
    ]
  }
]

export default route
